package com.heartline.api;

import com.blade.mvc.http.Request;

import java.io.IOException;

/**
 * 微信服务器接入
 * Created by Administrator on 2018/6/3 0003.
 */
public interface IWXServer {

    /**
     * 认证
     */
    String check(String signature, String timestamp, String nonce, String echostr, Request request);

    /**
     * 用户消息接收
     */
    String receive(Request request) throws IOException;
}
